/* Section-4  */


.section-4 {
  padding: 1px 0 0 30px;
  text-align:left ;
  background-color: #ffbb03;
}

.section-4-headline {
  font-size: 70px;
  font-weight:200 ;
  color: white;
}

/* Carousel Container */
.carousel-container {
  width: 80%;
  overflow: hidden; /* Hide overflow */
  margin: 0 auto;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease; /* Smooth sliding effect */
}

.carousel-item {
  min-width: calc(100% / 5); /* 3 items visible at once */
  height: 120px;
  background: white;
  margin: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Slider */
.slider-container {
  width: 45%;
  margin: 20px auto 0;
  padding: 40px 0 80px 0;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: white;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: blue;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .section-4-headline {
    font-size: 60px;
    font-weight:150 ;
  }

  .slider-container {
    width: 50%;
    margin: 20px auto 0;
    padding: 30px 0 60px 0;
  }

  .carousel-item {
    min-width: calc(100% / 4); /* 3 items visible at once */
    height: 100px;
  }
}

@media (max-width: 589px) {
  .section-4-headline {
    font-size: 47px;
    font-weight:150 ;
  }

  .slider-container {
    width: 60%;
    margin: 20px auto 0;
    padding: 40px 0 80px 0;
  }

  .carousel-item {
    min-width: calc(100% / 3); /* 3 items visible at once */
    height: 100px;
  }
}

@media (max-width: 481px) {
  .section-4-headline {
    font-size: 40px;
    font-weight:100 ;
    padding-top: 30px;
    padding-bottom: 15px;
  }

  .slider-container {
    width: 70%;
    margin: 20px auto 0;
    padding: 40px 0 80px 0;
  }

  .carousel-container {
    width: 90%;
  }

  .carousel-item {
    min-width: calc(100% / 1.5); /* 3 items visible at once */
    height: 140px;
  }
}